class CreateProduces < ActiveRecord::Migration
  def change
    create_table :produces do |t|
	  t.references :cart
	  t.string "image", :limit => 60
	  t.string "name", :limit => 40
	  t.string "origin", :limit => 30
	  t.string "type_of_produce"
	  t.string "taste"
	  t.date "end_day"
	  t.text "description"
	  t.column :available,'integer unsigned', :limit => 6
	  t.date "add_day"
	  t.column :buy,'integer unsigned', :limit => 6
	  t.column :price,'integer unsigned', :limit => 10
      t.timestamps
    end
  end
end
